<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">

	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>

	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
	<style>
		div a{
			text-decoration: none;
		}
	</style>
	<body>
		<div>
			<div id="nav">

					<!-- Nav tabs -->
					<ul class="nav nav-tabs nav-stacked nav-pills" role="tablist">
						<!--<li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
						<li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
						<li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
						<li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>-->
						<li  class="active"><a href="/workl" target="right1" onclick="find(this)">今日工作</a></li>
						<li><a href="/add01l" target="right1" onclick="find(this)">添加患者信息</a></li>
						<li><a href="/rewritel" target="right1" onclick="find(this)">修改患者信息</a></li>
						<li><a href="/infoListl" target="right1" onclick="find(this)">当前患者信息查询</a></li>
						<li><a href="#" target="right1" onclick="find(this)">预约逾期患者信息查询</a></li>
					</ul>



					<!--&lt;!&ndash; Tab panes &ndash;&gt;
					<div class="tab-content">
						<div role="tabpanel" class="tab-pane active" id="home">...</div>
						<div role="tabpanel" class="tab-pane" id="profile">...</div>
						<div role="tabpanel" class="tab-pane" id="messages">...</div>
						<div role="tabpanel" class="tab-pane" id="settings">...</div>
					</div>-->

				
			</div>
	
		</div>

	</body>
	<script>
      		function find(obj) {
                var href = $(obj).attr('href');
                var as = document.getElementsByTagName('a');
                for (var i = 0, j = as.length; i < j; i++) {
                    if ($(as[i]).attr('href') == href) {
                        $(as[i]).parent().addClass("active");
                    }
                else
                    $(as[i]).parent().removeClass("active");
                }
            }
	</script>
</html>
